package example_10.ListDemo;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class LinkedListDemo_01 {
    public static void main(String[] args) {
        LinkedList list = new LinkedList();
        list.add("java");
        System.out.println(list);
        list.addFirst("Mysql");
        list.add("c艹");
        System.out.println(list);
        List names = new ArrayList();
        names.add(list);
        names.addAll(list);
        System.out.println(names);
    }
}
